package com.xinshujia.entity;

import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author: 野狼上校
 * @create: 2023-01-05  23:28
 * @version: 1.0
 * @description: 用户实体类
 */
@TableName("auth_user")
public class UserEntity extends BaseEntity {
    // 账号
    private String username;
    // 密码
    private String password;
    // 手机号码
    private String phone;
    // 头像
    private String photo;
    // 公司名称（冗余字段）
    private String companyName;
    // 是否可用
    private boolean deleted;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
}
